package com.xuwang.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
/**
 * 进货表返回全部的VO
 *
 * @author abaaba
 * @since 2021-09-18 14:18:01
 * @version 1.0
 */
@ApiModel(value = "StockListReturnVO",description = "进货表返回全部的VO")
public class StockListReturnVO {


    @ApiModelProperty(name = "id", notes = "id", dataType = "Integer", required = true)
    private Integer id;
    /**
     * 三者生产批号
     */
    @ApiModelProperty(name = "name", notes = "进货物名字", dataType = "String", required = true)
    private String name;
    /**
     * 三者生产批号
     */
    @ApiModelProperty(name = "stockBatchNo", notes = "三者生产批号", dataType = "String", required = true)
    private String stockBatchNo;
    /**
     * 验收人员
     */
    @ApiModelProperty(name = "confirmPerson", notes = "验收人员", dataType = "String", required = true)
    private String confirmPerson;
    /**
     * 进货时间
     */
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(name = "stockTime", notes = "进货时间", dataType = "Timestamp", required = true)
    private Timestamp stockTime;
    /**
     * 进货数量
     */
    @ApiModelProperty(name = "stockNumber", notes = "进货数量", dataType = "Double", required = true)
    private Double stockNumber;
    /**
     * 进货企业id
     */
    @ApiModelProperty(name = "stockCompanyId", notes = "进货企业id", dataType = "Integer", required = true)
    private Integer stockCompanyId;
    /**
     * 状态是否删除更改
     */
    @ApiModelProperty(name = "action", notes = "状态是否删除更改", dataType = "Integer", required = true)
    private Integer action;
    /**
     * 类型
     */
    @ApiModelProperty(name = "type", notes = "类型", dataType = "Integer", required = true)
    private Integer type;
    /**
     * 保质期
     */
    @ApiModelProperty(name = "warranty", notes = "保质期", dataType = "Integer", required = true)
    private Integer warranty;

    /**
     * 供货公司名字
     */
    @ApiModelProperty(name = "supplyCompanyName", notes = "供货公司名字", dataType = "String", required = true)
    private String supplyCompanyName;

    /**
     * 接收公司名字
     */
    @ApiModelProperty(name = "receiveCompanyName", notes = "接收公司名字", dataType = "String", required = true)
    private String receiveCompanyName;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getWarranty() {
        return warranty;
    }

    public void setWarranty(Integer warranty) {
        this.warranty = warranty;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStockBatchNo() {
        return stockBatchNo;
    }

    public void setStockBatchNo(String stockBatchNo) {
        this.stockBatchNo = stockBatchNo;
    }

    public String getConfirmPerson() {
        return confirmPerson;
    }

    public void setConfirmPerson(String confirmPerson) {
        this.confirmPerson = confirmPerson;
    }

    public Timestamp getStockTime() {
        return stockTime;
    }

        public void setStockTime(Timestamp stockTime) {
            this.stockTime = stockTime;
    }

    public Double getStockNumber() {
        return stockNumber;
    }

    public void setStockNumber(Double stockNumber) {
        this.stockNumber = stockNumber;
    }

    public Integer getStockCompanyId() {
        return stockCompanyId;
    }

    public void setStockCompanyId(Integer stockCompanyId) {
        this.stockCompanyId = stockCompanyId;
    }

    public Integer getAction() {
        return action;
    }

    public void setAction(Integer action) {
        this.action = action;
    }

    public String getSupplyCompanyName() {
        return supplyCompanyName;
    }

    public void setSupplyCompanyName(String supplyCompanyName) {
        this.supplyCompanyName = supplyCompanyName;
    }

    public String getReceiveCompanyName() {
        return receiveCompanyName;
    }

    public void setReceiveCompanyName(String receiveCompanyName) {
        this.receiveCompanyName = receiveCompanyName;
    }
}
